
struct __go_func_type;

bool runtime_getfinalizer(void *p, bool del, void (**fn)(void*), const struct __go_func_type **ft);
void runtime_walkfintab(void (*fn)(void*), void (*scan)(byte *, uintptr));
bool runtime_addfinalizer(void *p, void (*f)(void*), const struct __go_func_type *ft);

// Go called.
extern void runtime_SetFinalizer(Eface obj, Eface finalizer) __asm__("runtime.SetFinalizer");
